package com.ssy.lingxi.member.merchant.model.vo.login.request;

import javax.validation.constraints.NotNull;
import javax.validation.constraints.Positive;
import java.io.Serializable;

/**
 * 切换用户会员角色接口参数VO
 * @author 万宁
 * @version 2.0.0
 * @date 2020-08-06
 */
public class MemberLoginSwitchMemberRoleVO implements Serializable {
    private static final long serialVersionUID = -3487523750905753302L;

    /**
     * 要切换的会员角色Id
     */
    @NotNull(message = "会员角色Id要大于0")
    @Positive(message = "会员角色Id要大于0")
    private Long memberRoleId;

    public Long getMemberRoleId() {
        return memberRoleId;
    }

    public void setMemberRoleId(Long memberRoleId) {
        this.memberRoleId = memberRoleId;
    }
}
